var JTextWidget=JWidget.extend({
	constructor:function(options){
		this.base(options);
		
	},
	loadCore: function(){
		//this.core.load("/mr8/index.php?r=jwidget/core/load", {JClass:'text'});
		this.core.html('JTextWidget2.core');
	},
	  loadPanel: function(jClass){
	      this.base(jClass);
        // $('.settingtitle').html(jClass);
        //         var $tabs = $( "#tabs").tabs({
        //             tabTemplate: "<li><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close'>Remove Tab</span></li>",
        //             add: function( event, ui ) {
        //                 $( ui.panel ).append( "<p>" + 'etetee' + "</p>" );
        //             }
        //         });
        //         $tabs.tabs( "add", "#tabs-" , "á," );
        //         $tabs.tabs( "add", "#tabs-" + tab_counter, tab_title );
        //             // close icon: removing the tab on click
        //     // note: closable tabs gonna be an option in the future - see http://dev.jqueryui.com/ticket/3924
        //     $( "#tabs span.ui-icon-close" ).live( "click", function() {
        //       var index = $( "li", $tabs ).index( $( this ).parent() );
        //       // alert(index);
        //       $tabs.tabs( "remove", index );
        //     });
    
	},
});